microstate calculate for d2 and P3 configuration